projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2b6bb1
)
Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
author
Christian Dywan
<christian@twotoasts.de>
Fri, 16 Oct 2009 14:40:18 +0000
(16:40 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 2 May 2010 23:51:17 +0000
(
01:51
+0200)
docs/tools/shooter.c
patch
|
blob
|
history
diff --git
a/docs/tools/shooter.c
b/docs/tools/shooter.c
index 95555ecd1083f9631513bf79424f8ceeb1cd8b29..f8df8b57539a32ad79c2d911c61d4b5be6201b4c 100644
(file)
--- a/
docs/tools/shooter.c
+++ b/
docs/tools/shooter.c
@@
-205,7
+205,9
@@
int main (int argc, char **argv)
window = info->window->window;
gtk_widget_show_now (info->window);
- gtk_widget_draw (info->window, &(info->window->allocation));
+ gtk_widget_queue_draw_area (info->window,
+ info->window->allocation.x, info->window->allocation.y,
+ info->window->allocation.width, info->window->allocation.height);
while (gtk_events_pending ())
{